package router

import (
	"github.com/gin-gonic/gin"
	"zc/api/conteroller"
	"zc/api/handel"
)

func Router(r *gin.Engine) {
	// 简单的路由组: v1
	v1 := r.Group("/v1")
	{
		v1.POST("/FileName", handel.FileName)
		v1.POST("/VideoAdd", conteroller.VideoAdd)
		v1.GET("/VideoList", conteroller.VideoList)
	}

}
